package Scrap;

public class demo08_format_with_hash {

	
	public static void main(String[] args) {

int length=5;		
String input = "0";
String formatted_string="";



formatted_string=input.replaceAll("^0+", "");

while(formatted_string.length()<length){
	
formatted_string=formatted_string+"#";	
	
}
System.out.println(formatted_string);

}

	
}


//10000.6660
//990.0080
//101.11111
//31644.0


